/*
 * Created on 2005/4/11
 *
 */
package com.erp.app.report.genericInquiry.inquiryMaster.beans;

import com.erp.app.report.genericInquiry.inquiryMaster.ejb.GenericInquiryMasterPK;
import com.erp.framework.exceptions.CheckFieldLengthException;
import com.erp.framework.model.pk.SimpleBasePk;
import com.erp.framework.model.vo.SimpleBaseVo;

public class GenericInquiryMasterVO extends SimpleBaseVo {
    private String companyCode;
    private String inquiryType;
    private String rptTime;
    private String filename;
    private String lang;

    public GenericInquiryMasterVO(String inquiryType) {
        this.inquiryType = inquiryType;
    }

    protected void setDaoName() {
    }

    protected void setChildTypesName() {
    }

    public SimpleBasePk getPrimaryKey() {
        return new GenericInquiryMasterPK(companyCode, inquiryType, rptTime, lang);
    }

    public String getInquiryType() {
        return inquiryType;
    }
    public void setInquiryType(String inquiryType) {
        this.inquiryType = inquiryType;
    }
    public String getCompanyCode() {
        return companyCode;
    }
    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }
    public String getRptTime() {
        return rptTime;
    }
    public void setRptTime(String rptTime) {
        this.rptTime = rptTime;
    }

    protected void setBizLogicName() {
    }

    public boolean checkFieldLength(String loginUserCode) throws Exception, CheckFieldLengthException {
        return false;
    }
    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

	public String getLang() {
		return lang;
	}

	public void setLang(String lang) {
		this.lang = lang;
	}
}
